package com.ruoyi.system.domain.api.patient;


import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

public class GroupMemberDto {
    @NotNull(message = "分组ID不得为空")
    private Long groupId;
    @NotNull(message = "医生ID不得为空")
    private Long doctorId;

    private String hosName;

    private Date createTime;

    private String groupName;
    // 操作人的ID,并非是患者的ID,目的是用来判断进行操作的人员的权限
    private Long userId;
    // 操作人的类型,并非是患者的ID,目的是用来判断进行操作的人员的权限
    private Integer userType;

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    private List<GroupMember> groupMember;



    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getHosName() {
        return hosName;
    }

    public void setHosName(String hosName) {
        this.hosName = hosName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public Long getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Long doctorId) {
        this.doctorId = doctorId;
    }

    public List<GroupMember> getGroupMember() {
        return groupMember;
    }

    public void setGroupMember(List<GroupMember> groupMember) {
        this.groupMember = groupMember;
    }
}
